-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add NFS Datastore resource in vmwareengine service #16088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: For automatic test runs see go/terraform-auto-test-runs. @roaks3, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
d46a196 to
0cf3cec
Compare
|
@roaks3 This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @roaks3 This PR has been waiting for review for 1 week. Please take a look! Use the label |
|
Am I correct in assuming this is a promotion from google-private? If so, were any changes needed? |
|
/gcbrun |
Yes this is promotion and no changes are required. This is my first PR so I might not be aware of all the necessary steps. |
0cf3cec to
4c0f820
Compare
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing doc report (experimental)The following data sources are missing documents:
|
Tests analyticsTotal tests: 15 Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
roaks3
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you also need to add a docs page for the datasource. You can usually copy-and-paste one from a similar resource and go from there.
Also, for the netapp test failure, we're seeing Error creating volume - Specified pool is in deleting state, hence volume cannot be created.
It's not obvious to me what's going on, the pool seems to be created correctly and then the volume call fails fairly quickly after. Is there some reason the pool would be destroyed almost immediately by the server? Or perhaps we need some sort of delay before trying to create the volume?
| @@ -0,0 +1,18 @@ | |||
| # Use existing filestore instance | |||
| data "google_filestore_instance" "test_instance" { | |||
| name = "tf-test-datastore-fs-instance" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: "tf-test" prefix shouldn't be needed, since this is only a docs example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
| @@ -0,0 +1,40 @@ | |||
| package vmwareengine | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider seeing if using an autogenerated datasource works for you (I would basically try a generation and see if the resulting diff matches your file, or very close). In the mmv1/products/vmwareengine/Datastore.yaml:
datasource:
generate: true
exclude_test: true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per this article https://googlecloudplatform.github.io/magic-modules/develop/add-handwritten-datasource/#add-a-datasource only handwritten datasource are supported.
I have added autogenerate config in mmv1/products/vmwareengine/Datastore.yaml however make provider is not auto generating datasource file.
4c0f820 to
bec0123
Compare
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Errors
|
Non-exercised tests🔴 Tests were added that are skipped in VCR:
Tests analyticsTotal tests: 0 Click here to see the affected service packages
🔴 Errors occurred during REPLAYING mode. Please fix them to complete your PR. View the build log |
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.